#ifndef MANAGER_H
#define MANAGER_H

#include <QObject>
#include "mainwindow.h"
#include "Renderer/Rasterizer/DemoConsole.h"


class MainWindow;
class Renderer;

void renderFrame();

class Manager : public QObject
{
    Q_OBJECT

public:
    MainWindow                  *m_Wnd;
    bool                         m_Rendering;
    MASGK::CDemoConsole         *m_Demo;
    short                       m_ActualScene;

    Manager(MainWindow *);
    QPixmap                     Uint2Pixmap(uint**);
    void                        RenderFrame();

signals:
    void RenderNext(const QPixmap&);


};

#endif // MANAGER_H
